package com.sumi.erp.mapper;

import java.util.List;
import com.sumi.erp.domain.BaseVirtualWarehouse;

/**
 * 虚拟仓库Mapper接口
 * 
 * @author fgf67@163.com
 * @date 2024-06-28
 */
public interface BaseVirtualWarehouseMapper 
{
    /**
     * 查询虚拟仓库
     * 
     * @param id 虚拟仓库主键
     * @return 虚拟仓库
     */
    public BaseVirtualWarehouse selectBaseVirtualWarehouseById(Long id);

    /**
     * 查询虚拟仓库列表
     * 
     * @param baseVirtualWarehouse 虚拟仓库
     * @return 虚拟仓库集合
     */
    public List<BaseVirtualWarehouse> selectBaseVirtualWarehouseList(BaseVirtualWarehouse baseVirtualWarehouse);

    /**
     * 新增虚拟仓库
     * 
     * @param baseVirtualWarehouse 虚拟仓库
     * @return 结果
     */
    public int insertBaseVirtualWarehouse(BaseVirtualWarehouse baseVirtualWarehouse);

    /**
     * 修改虚拟仓库
     * 
     * @param baseVirtualWarehouse 虚拟仓库
     * @return 结果
     */
    public int updateBaseVirtualWarehouse(BaseVirtualWarehouse baseVirtualWarehouse);

    /**
     * 删除虚拟仓库
     * 
     * @param id 虚拟仓库主键
     * @return 结果
     */
    public int deleteBaseVirtualWarehouseById(Long id);

    /**
     * 批量删除虚拟仓库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBaseVirtualWarehouseByIds(Long[] ids);
}
